Skip to content

Enable dashboards as part of workspace export-dir command - #6332

Merged
janniklasrose merged 6 commits into
mainfrom
janniklasrose/workspace-export-dir-with-dashboards
Aug 25, 2026
Merged

Enable dashboards as part of workspace export-dir command#6332
janniklasrose merged 6 commits into
mainfrom
janniklasrose/workspace-export-dir-with-dashboards

Conversation

@janniklasrose

Copy link
Copy Markdown
Contributor

Changes

Enable dashboards as part of the workspace export-dir command

Why

The export API actually supports dashboards, but was previously marked as unsupported.

Tests

Tested locally.
Also added a cloud acceptance test.

@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 82de8eb

Run: 32850134661

Env 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 1 4 276 1182 5:53
💚​ aws windows 1 4 276 1181 3:43
💚​ azure linux 1 4 275 1182 6:55
💚​ azure windows 1 4 275 1181 4:43
💚​ gcp linux 1 4 276 1182 6:21
💚​ gcp windows 1 4 276 1181 4:31
Test Name aws linux aws windows azure linux azure windows gcp linux gcp windows
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/invariant/no_drift 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/ssh/connection 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
Top 3 slowest tests (at least 2 minutes):
duration env testname
3:16 aws windows TestAccept
3:10 azure windows TestAccept
3:09 gcp windows TestAccept

The test diffed the exported dashboard against the exact input JSON, but
the Lakeview backend normalizes the serialized dashboard on create (e.g.
it drops an empty "layout": []). The local testserver echoes the input
verbatim, so the test passed locally but failed on every real workspace.

Assert the dashboard file was exported instead of diffing its content.
This is what the change under test actually verifies (dashboards are no
longer skipped by export-dir). Dropping the diff also removes the diff.py
call that MSYS_NO_PATHCONV broke on Windows.

Gate the test off Windows: export-dir prints the local destination with
OS-native separators, which is incidental to the OS-independent export
behavior being tested.

Co-authored-by: Isaac
@janniklasrose
janniklasrose added this pull request to the merge queue Aug 25, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 25, 2026
#6359 removed the RequiresWarehouse/RequiresCluster/RequiresUnityCatalog
acceptance settings (all cloud envs set the corresponding TEST_* env vars,
so they never skipped anything). This branch merged main before that
landed, so its CI passed while the merge queue — testing against newer
main — failed with "Undecoded key ... RequiresWarehouse".

Remove the setting; the cloud run still requires a warehouse via
TEST_DEFAULT_WAREHOUSE_ID, which every cloud environment provides.

Co-authored-by: Isaac
@janniklasrose
janniklasrose added this pull request to the merge queue Aug 25, 2026
Merged via the queue into main with commit 21b601a Aug 25, 2026
23 checks passed
@janniklasrose
janniklasrose deleted the janniklasrose/workspace-export-dir-with-dashboards branch August 25, 2026 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants